package com.v9.system.service;

import com.v9.common.core.service.IAbstractDefaultService;
import com.v9.common.core.service.SelectDataProvider;
import com.v9.system.domain.RoleInfo;

import java.util.List;

/**
 * 角色业务层
 *
 * @author shilun
 */
public interface RoleInfoService  extends IAbstractDefaultService<RoleInfo> , SelectDataProvider
{
    void save(RoleInfo role, Long... menuIds);
    public List<RoleInfo> queryByPin(String pin);

    /**
     * 验证是否可删除
     * @param id
     */
    void verifyDel(Long id);
}
